-- GENERATED SPELL FOR [Lifeblood Elemental] --


function spell0_29124(pUnit, Event) --@Blood Tap,n/a--
pUnit:FullCastSpellOnTarget(54790,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_29124', 15333, 1)
end

function Sorts_29124(pUnit, Event)
local choix_sorts_29124 = math.random(0, 0)
if choix_sorts_29124 == 0 then
pUnit:RegisterEvent('spell0_29124', 1, 1)
end
end

function mob29124_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_29124', math.random(1500, 3000), 1)
end

function mob29124_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29124_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29124_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(29124, 1, 'mob29124_Action')
RegisterUnitEvent(29124, 2, 'mob29124_Leave')
RegisterUnitEvent(29124, 3, 'mob29124_Kill')
RegisterUnitEvent(29124, 4, 'mob29124_Die')
